package edu.hawaii.duedates.web.page.alerts;

import edu.hawaii.duedates.web.page.DueDatesPage;

/**
 * The display page for this DueDates-Omaomao application.
 * 
 * @author Ronn Reeves.
 */
public class Alerts extends DueDatesPage {
  /** Support serialization. */
  private static final long serialVersionUID = 1L;

  /**
   * Creates a new instance of the home page for DueDates-Omaomao.
   */
  public Alerts() {
    // Create the menu.
    createMenu();
  }

  /**
   * Creates the menu for the DueDates page.
   */
  private void createMenu() {
    this.loginLink.setEnabled(Boolean.FALSE);
    this.loginLink.setVisible(Boolean.FALSE);

    this.displayLink.setEnabled(Boolean.TRUE);
    this.displayLink.setVisible(Boolean.TRUE);
    add(this.displayLink);
    
    this.alertsLink.setEnabled(Boolean.FALSE);
    this.alertsLink.setVisible(Boolean.TRUE);
    add(this.alertsLink);  

    this.logoutLink.setEnabled(Boolean.TRUE);
    this.logoutLink.setVisible(Boolean.TRUE);
    this.logoutLink.add(this.logoutText);
    add(this.logoutLink);
  }
  
  
  
}